﻿using Castle.DynamicProxy;
using System;
using System.Collections.Generic;
using System.Text;

namespace PlutoStudio.Aspects
{
    public static class ConventionalInterceptorExtensions
    {
        public static void Add<TType,TInterceptor>(this IConventionaInterceptorContext context) where TInterceptor:IInterceptor
        {
            context.Add(typeof(TType), typeof(TInterceptor));
        }
    }
}
